/* 
    项目中所有的状态字典表
*/
/**
 *  组织类型
 */
export const organizationType = {
  1: {
      label: '厂商',
      value: 1,
      disabled: true,
      color:'#c4e3f5'
  },
  2: {
      label: '恒星级（太阳）',
      value: 2,
      color:'#dadbea'
  },
  3: {
      label: '行星级（地球）',
      value: 3,
      color:'#dbeaea'
  },
  4: {
      label: '卫星级（月亮）',
      value: 4,
      color:'#e8ece0'
  },
  5: {
      label: '会员',
      value: 5,
      color:'#eae5df'
  },
}
/* 
  组织的状态
*/

export const orgStatus = {
  1: '待审核',
  2: '审核通过',
  3: '审核不通过',
  4: '二次待审核',
}
export const orgStatusColor = {
      1: '#f5222d',
      2: '#52c41a',
      3: '#f99600',
      4: '#2f54eb',
  }
/* 
  组织的升级状态
*/

export const orgUpStatus = {
  1: '不可升级',
  2: '可升级',
  3: '待处理',
  4: '通过',
  5: '未通过'
}
export const orgUpStatusColor = {
  1: '#bfbfbf',
  2: '#2f54eb',
  3: '#f5222d',
  4: '#52c41a',
  5: '#f99600'
}
//封锁组织
export const CANCELSTATUS={
  '0': {status:0,name:'',color:"#777"},
  '1': {status:1,name:'封锁待处理',color:"#ca2e22"},
  '2': {status:2,name:'封锁通过',color:"#ff9933"},
  '3': {status:3,name:'封锁不通过',color:"#CC6600"},
  '4': {status:4,name:'激活待处理',color:"#04A5E9"},
  '5': {status:5,name:'激活通过',color:"#08B712"},
  '6': {status:6,name:'激活不通过',color:"#00CC99"},
}
//太阳运费预存款审核
export const orgFeeStatus={
  '1': {status:1,name:'待审核',color:"#f5222d"},
  '2': {status:2,name:'审核通过',color:"#52c41a"},
  '3': {status:3,name:'审核不通过',color:"#f99600"},
}
/*
  新闻类型
*/
export const newsTypes = {
  1: { label: "普通", value: 1 }
}

/* 
  用户的类型
*/
export const userTypes = {
  1: "管理员",
  2: "审核员",
}

export const userTypeList = {
  1:{label:"管理员",value:1},
  2:{label:"审核员",value:2}
}


export const userLeaveType = {
  "Y": "离职",
  "N": "未离职"
}

//系统名称
export const SYSTEM_NAME = "分销管理";

//系统用户默认头像
export const USER_DEFAULT_IMG = 'https://www.njyjz.com/console/img/defult-people.png';

//系统 欢迎页面
export const SYSTEM_WELCOME_PAGE = "/system/welcome";

export const PRIVILEGE_TYPES = {
  'menuitem' : '页面权限',
  'operation' : '操作权限',
  // '0' : '页面权限',
  // '1' : '操作权限',
}
export const ROLE_TYPES = {
  '0' : '超级管理员',
  '1' : '厂商',
  '2' : '恒星级代理商',
  '3' : '行星级代理商',
  '4' : '卫星级代理商',
}
export const ORDER_TYPES = {
  '1' : '代发货',
  '2' : '补云仓',
  '3' : '补本地仓',
  '4' : '会员下单',
  "6" : '退换货'
}

export const ORDER_STATUS={
  '0': {status:0,name:'所有',color:"#8f9be1"},
  '1': {status:1,name:'待处理',color:"#ca2e22"},
  '2': {status:2,name:'待出库',color:"#ff9933"},
  '3': {status:3,name:'已出库',color:"#CC6600"},
  '4': {status:4,name:'已发货',color:"#04A5E9"},
  '5': {status:5,name:'已取消',color:"777"},
  '6': {status:6,name:'完成',color:"#00CC99"},
  '7': {status:7,name:'待提货',color:"#0010cc"},
}

export const EXPRESSCOM=[
  
  {
      label:"申通",
      value:"shentong"
  },
  {
      label:"顺丰",
      value:"shunfeng"
  },
  {
      label:"中通",
      value:"zhongtong"
  },
  {
      label:"圆通",
      value:"yuantong"
  },
  {
      label:"邮政",
      value:"ems"
  },
  {
      label:"韵达",
      value:"yunda"
  },
  {
      label:"天天",
      value:"tiantian"
  },
  {
      label:"汇通",
      value:"huitongkuaidi"
  },
]
export const RECOMMEND_TYPE={
  1: "推荐奖励",
  2: "注册奖励",
  3: "初购奖励",
};








/* 
 员工民族
*/
export const USERNATION = {
  0: "汉族",
  1: "壮族",
  2: "满族",
  3: "回族",
  4: "苗族",
  5: "维吾尔族",
  6: "土家族",
  7: "彝族",
  8: "蒙古族",
  9: "藏族",
  10: "布依族",
  11: "侗族",
  12: "瑶族",
  13: "朝鲜族",
  14: "白族",
  15: "哈尼族",
  16: "哈萨克族",
  17: "黎族",
  18: "傣族",
  19: "畲族",
  20: "傈僳族",
  21: "仡佬族",
  22: "东乡族",
  23: "高山族",
  24: "拉祜族",
  25: "水族",
  26: "佤族",
  27: "纳西族",
  28: "羌族",
  29: "土族",
  30: "仫佬族",
  31: "锡伯族",
  32: "柯尔克孜族",
  33: "达斡尔族",
  34: "景颇族",
  35: "毛南族",
  36: "撒拉族",
  37: "布朗族",
  38: "塔吉克族",
  39: "阿昌族",
  40: "普米族",
  41: "鄂温克族",
  42: "怒族",
  43: "京族",
  44: "基诺族",
  45: "德昂族",
  46: "保安族",
  47: "俄罗斯族",
  48: "裕固族",
  49: "乌兹别克族",
  50: "门巴族",
  51: "鄂伦春族",
  52: "独龙族",
  53: "塔塔尔族",
  54: "赫哲族",
  55: "珞巴族"
}

/* 
  是否显示承接人信息
*/

export const showRecipient = {
  0: '不显示',
  1: "显示"
}

/* 
  是否显示合同
*/
export const showContract = {
  0: '不显示',
  1: "显示"
}

/* 
  是否直接创建任务
*/
export const showTask = {
  0: '否',
  1: "是"
}


/* 
     项目类型
*/
export const projectType = {
  0: '技术翻译',
  1: "翻译"
}

/* 
     项目类型
*/
export const EXCEL_PARSE_TYPE = {
  1: 'transExcel',
  2: "officeExcel"
}

/* 
  用户操作权限列表
*/
export const PRIVILEGEMAP = {
  'project_manage': 'project_manage', //项目管理员视图
  'project_create': 'project_create', //创建项目权限
}